TK3UPDATES.TXT 10JUN05

Update history
V3.05
10JUN05 amended for HIGH/LOW label assembly error

V3.04
18MAR05 Text Editor selection increased to 3
17MAR04 16F erroneous caption on prog erase button fixed
17MAR05 16F and 18F Disassemble speeded
16MAR05 18F SIM port buttons bug fixed
16MAR05 SIM given FAST button, which speeds by about 30%
15MAR05 18F Access bit warnings separated from normal warnings
15MAR05 18F programming & verify speed increased (from about 3min40 for 1400 commands to about 15secs!)
15MAR05 18F non-verify mode given label stating this fact after prog send

V3.03
14MAR05 erroneous "0 00 00" line removed from some SIM file creations in 16F
14MAR05 BANK1 error for MOVFW corrected in Assembly 16F
14MAR05 16F non-recognition of HIGH/LOW literal values problem solved
xxMAR05 few minor items tidied up

V3.02
06FEB05 A couple of minor errors in Assembly 16F fixed

V3.00
08JAN05 Released to web
05DEC04 Mini Simulator and PIC18F facilities effectively completed
05DEC04 MPASM assembler path facilities enhanced

V2.23
10SEP04 IFNDEF, #IFNDEF and ELSE recognition added (IFDEF & #IFDEF were added 20APR03)
07SEP04 Hex line decode facility added
07SEP04 Trace facility added to Simul
07SEP04 Hex line decode facility added
V2.22
04SEP04 Disassembly from hex now related to Bank 1 as well as Bank 0
04SEP04 A few other minor changes, nothing worth recording
04SEP04 Failure of History file to update amended (maybe originated when CURDIR path introduced?)
V2.21
xxAUG04 Mini Simulation addition started
19AUG04 Various changes from Andrew Jarvis, adding new PIC types
07AUG04 Compare hex files routine restructured, with line disassembly added
V2.2
01AUG04 MPASM convert routine amended to avoid terminal error for tab length
01AUG04 MPASM convert routine amended to put filename length intercept at end
01AUG04 Intercept for no final apostrophe (') for B' prefixed binary values
27JUN04 Recognition and sending through hex of embedded IDLOCs info added
27JUL04 Tick box to suppress display of Warning messages in Assembly added
27JUL04 Andrew Jarvis' HexView.EXE facility added (from PIC n' Mix Oct 04)
V2.0
27JUN04 Recognition and sending through hex of embedded IDLOCs info added
26JUN04 Assembly and Disassembly heavily restructured throughout
26JUN04 Preparation for PIC18F code to be assembled started but not completed
26JUN04 Now allows EQU values above 127 (hex 7F) to be used
26JUN04 Intercept added for CBLOCK allocated values exceeding allowable qty
26JUN04 Assembly and Disassembly restructured
26JUN04 Config and Data EEPROM values now downloaded during Disassembly from PIC
26JUN04 Error/warning line number recording amended and corrected
26JUN04 Recognition of GOTO $+2 command structure added
26JUN04 somehow a Config deletion of 7JAN03 got itself reinstated, but has now been re-deleted 
and another mod implemented
26JUN04 All assembly now done in relation to Microchip's .INC file for the selected PIC (instead of a special TK3 file as previously used)
26JUN04 Now recognises constructions such as "FILE+D'10'" and "D'10'+FILE"
26JUN04 Now recognises Config statements such as _CP_ON, _CP_OFF, _PWRTE_ON, _PWRTE_OFF,
26JUN04 _WDT_ON,_WDT_OFF,_LP_OSC, XT_OSC,_HS_OSC,_RC_OSC, etc.
26JUN04 Warning for unrecognised embedded PIC type added, but allows assembly to continue if found using data for current PIC type specified
26JUN04 Disassembly provided with Config & Data Eeprom decoding as well
27JUN04 Send OBJ file to PIC routine dropped
27JUN04 Convert MPASM ASM to TASM routine dropped
27JUN04 Convert HEX to OBJ routine dropped

V1.52
28APR04 Breakpoint amended file PB17 replaces PB16

V1.5
26JUN03 New universal INPOUT32.DLL exchanged for orig. New was downloaded from www.logix4u.net/inpout32.htm and is supposed to be compatible with W95/98/ME/XP/NT/2K

26JUN03 Version number amended to V1.5 16JUN03 - now embodies PIC Breakpoint amendments from Richard Hinckley for PIC Breakpoint
25APR03 Sub cmdTest_click() added by R. Hinckley + TestHex button to form for PIC Breakpoint
25APR03 Test HEX buttons handling for Port Checking changed by R.Hinckley for PIC Breakpoint
25APR03 S/R Checkport in TK3Assembly changed to Public Sub by R.Hinckley for PIC Breakpoint

V1.42
20APR03 Macros, IFDEF, LOCAL (limited use) added

V1.41
14APR03 Baud rate calculation option added

V1.4
01MAR03 Error in checksum calc on final line of hex file assembly corrected
22FEB03 Recognition of MPASM's HIGH and LOW directives now available
22FEB03 Several changes to the List (.LST) file information added
22FEB03 Windows "X" exit button on main screen now causes total exit from program
22FEB03 Windows "X" exit buttons now made active to "unload" sub-windows when used, so conserving memory space
14FEB03 CBLOCK directive for automatic allocation of equated register addresses added to Assembly prog, e.g. you can state:
        CBLOCK H'40'
        VALUE0
        VALUE1
        VALUE2
        ENDC
        and TK3 automatically allocates the three registers to H'40', H'41', H'42' respectively.
        Where CBLOCK commands are in an INCLUDE file, that file must be INCLUDED after any tables
        and immediately prior to the main code in which such EQUates defined in that file are used/called.
14FEB03 Recognition of equated register displacements added - e.g. if equated registers are
        VALUE0 EQU H'30'
        VALUE1 EQU H'31'
        VALUE2 EQU H'32'
        then the command MOVLW VALUE2-1 will load W with H'31' instead of H'32'
        similarly MOVF VALUE2-2,W will load W with value within register VALUE0
        The form VALUE0+2 etc can also be used (accessing VALUE2 in this case)
        Thank you Peter Hemsley for prompting this and the CBLOCK changes!
14FEB03 "NEW V.x" button renamed to "Latest Updates" and moved to box below
14FEB03 Message "You can also double-click on the Toolkit Tk3 statement below to exit immediately" added to Exit Tk3 screen
14FEB03 Facility to read Microchip's MPASM User Guide via Acrobat added. Both
        must be on your PC - click MPASM on main screen and then click MPASM
        Path for details.

V1.35
31JAN03 Defines expanded to recognise such forms as #DEFINE SWITCH1 PORTA,0
31JAN03 Assembly prog errors screen tabbing improved
31JAN03 Intercept added for register bit > 7
31JAN03 Check for embedded PIC type added, updating TK3's records if found
01FEB03 BIN-HEX-DEC screen given Minimise button
02FEB03 Disassembly jump addresses > 1024 enabled for such PIC sizes
04FEB03 Compare HEX files option heavily restructured
05FEB03 Numerical order of hex code file embedded config/EEPROM address entries corrected
05FEB03 TASM to MPASM CONV - #DEFINE translation modified
05FEB03 TASM to MPASM CONV - Data DE translation modified
10FEB03 Equated register addresses limited to 127
10FEB03 Released to ftp as V1.35

V1.34
08JAN03 Read EEPROM message - config check moved to main screen button
08JAN03 BIN-DEC-HEX now accepts H prefix for Hex
08JAN03 Intercepts added for initialisation commands found in main body of code (List, Define, EQU, Config)
08JAN03 Labels and Equates values sorted into numerical order as well as alphabetical for LST file

V1.33
07JAN03 Various screen displays changed from "$" to "H" for hex indication
07JAN03 TK3TASM.ERR, TK3TASM.REF, TK3TASM.LST file names changed to TK3ASM.ERR, TK3ASM.REF, TK3ASM.LST
07JAN03 Logic error in Config on/off boxes fixed (for Label4(4) when clicking oscillator Option buttons)
07JAN03 On Error intercept added for button_HexToMPASM

V1.32
10JUN02 Runtime Error 380 cured & error intercept added to Clear Defaults routine added
10JUN02 Released as V1.32

V1.31
09JUN02 Assembly and Send Hex amended so that command count is actual command count rather than count including vals above 8191
09JUN02 Dissembly from hex counting procedure corrected

V1.23
18MAY02 PIC16F627/8 added to PICType & Config functions
19MAY02 Options to add own (14-bit command) PIC types added
22MAY02 MPASM and PIC Tutorial Notes paths amended to Notepad only
27MAY02 TK3Assembly - printer button/option replaced by DIR option
27MAY02 TK3ProgramPIC "Updates" button set focus shifted to other buttons

28MAY02 Facility added to handle Data Statements embodied in the source code as strings of values separated by commas, as in the following examples, all prefixed by DE following the ORG $2100 statement (EEPROM address start). All the usual numerical formats are permitted, and the data is placed at consecutive addresses commencing from the ORG value stated.

	ORG $2100
	DE 10, 9, 8 ,7 ,6 ,5, 4, 3, 2, 1, 0
	DE 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
        DE $A, $B, $C, $FF
        DE 'A', 'B', 'c'
        DE %00000001, %00000011
	DE HIGH 65535,LOW 65534

However, any statement commencing with the word DATA (e.g. DATA XX - where XX can be a value expressed in binary, decimal or hex) is still sent to the PIC as a RETLW XX command.

Note that TK3 does not recognise MPASM's HIGH and LOW commands, until version W1.4.

28MAY02 Recognition of HIGH and LOW statements added in respect of Data (DE) statements
28MAY02 In TK3Assembly variable V% amended to Vx (as double) to cope with HIGH/LOW concept
28MAY02 TK3 Message Send now allows values greater than 255 to be entered, the high byte sent first, followed by low byte. HIGH and LOW not recognised.

30MAY02 Above released to ftp as V1.23 (but should have been numbered as V1.3)

V1.22
18MAY02 erroneous extra text on LST comments lines eliminated (originated via .REF intermediate file)

V1.21
14MAR02 REG$() re-dimmed to 127 to rectify crash for 16F87x file register addresses above $6F
14MAR02 Disassembly modified to suit larger REG$(), for above reason
14MAR02 Intercept for external PIC (if used) connecting cable omitted, check made prior ro sending code (as well as after as previously)
14MAR02 Assembly of ASCII types 'a' and 'A' failure rectified, amended to accept both upper and lower case (bug in V1.2 but not V1.1)
14MAR02 EEPROM Data Memory now erased to 0 instead of 255
14MAR02 Added SetFocus to directory filter text box when filter tick box used

V1.2 
07JAN02 Above released to FTP as V1.2

V1.12
30DEC01 Facility to select two text editors added, for swapping via main screen
31DEC01 Slight mod to PIC reset procedure in TK3ProgramPIC
31DEC01 TK3ProgramPIC screen widened
31DEC01 Access to existing QBasic (or QuickBasic) provided
04JAN02 Ability to recognise equate structure such as TESTASC .EQU 'A' added
05JAN02 Read Message byte count added

V1.11
18OCT01 Spelling mistake in main prog amended
21OCT01 DIR and LIST buttons and Message screen of Program PIC screen enlarged
	Various SetFocus changes to Assembly and Program PIC screens
	Program PIC screen made responsive to keyboard keys:
		"A" calls ASSEMBLE
		"D" calls DIR
		"L" calls LIST
		"N" calls SHOW ERROR (Notes)
		"Q" and "X" call EXIT (Quit)
		"S" calls SEND AGAIN"
		"U" calls UPDATES"

21OCT01 Various SetFocus changes to Assembly and Program PIC screens
        Program PIC screen made responsive to keyboard keys
27OCT01 SendMessage & its Edit SetFocus added
11NOV01 Ability to turn Verifying of code on/off from prog window added when Verify=1
17NOV01 Cable/power check extended to include check for forthcoming PICtutor Mk2 board (Matrix Multimedia PICmicro Microcontroller Development Board)
07DEC01 Assembly prog amended to accept PIC addresses from $0800 onwards 
            (i.e. into prog memory Page 1 etc)
        Disassembly prog amended to accept PIC addresses from $0800 onwards 
            (i.e. into prog memory Page 1 etc)
        PIC16F870, 871, 872 devices added to selection list
12DEC01 Send Hex command value calculation corrected
15DEC01 Verify tick box (see 11Nov01) moved to main screen
        Tab length change option added to main page for use by conversion routines (not stored),
		   cycles upwards from 8 to 32 in steps of 4, rolls over to 8, default = 16
        Tabbing improved on TASM to MPASM conversion
        Tabbing improved on MPASM to TASM conversion
        Advice about INC files given if found in TASM to MPASM conversion
        Advice about excess filename length given if found in TASM to MPASM conversion
        Intercept included if TK3Updates.txt file missing
